
<%@page contentType="text/html" pageEncoding="UTF-8"%>

<div id="container">

    <jsp:include page = "header.jsp" />

    <div id ="content">

        <h1>Sign in </h1>

        <font color="red">

            <% if (request.getAttribute("errorMsg") != null) {

            %>
            <p><%= request.getAttribute("errorMsg")%></p>

            <%  }
            %>

            <% if (request.getAttribute("Msg") != null) {

            %>
            <p><%= request.getAttribute("Msg")%></p>

            <%  }
            %>

        </font>

        <form method ="POST" action="LoginController">

            <table class="table_format" align="center" cellpadding="25" cellspacing="25">

                <tr>
                    <th><label for="userName">Username</label></th>
                    <td><input id="userName" name="userName" type ="text"></td>
                </tr>

                <tr>
                    <th><label for="Password">Password</label></th>
                    <td><input id="Password" name="password" type ="password"></td>
                </tr>

            </table><br>

            <input class ="submit" type="submit" value="">

        </form>
    </div>

    <jsp:include page= "footer.jsp" />
    
</div>